import { createApp } from 'vue'
import { createPinia } from 'pinia'
// @ts-ignore
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import router from './router/index' // 使用默认导入
// @ts-ignore
import App from './App.vue'
const app = createApp(App)
app.use(ElementPlus,{ size: 'small', zIndex: 3000 })
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
const pinia = createPinia()
app.use(pinia)
app.use(router).mount('#app')
